<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.9.1"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>ADIN1110 Device Driver API Reference Manual: MAC Definitions</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">ADIN1110 Device Driver API Reference Manual
   &#160;<span id="projectnumber">1.1.0</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.1 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search','.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('group__mac.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#nested-classes">Classes</a> &#124;
<a href="#define-members">Macros</a> &#124;
<a href="#enum-members">Enumerations</a>  </div>
  <div class="headertitle">
<div class="title">MAC Definitions</div>  </div>
</div><!--header-->
<div class="contents">
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
Classes</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structadi__mac___driver_config__t.html">adi_mac_DriverConfig_t</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">MAC driver configuration.  <a href="structadi__mac___driver_config__t.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structadi__mac___timestamp_rdy__t.html">adi_mac_TimestampRdy_t</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">Egress timestamp captured status.  <a href="structadi__mac___timestamp_rdy__t.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structadi__mac___address_rule__t.html">adi_mac_AddressRule_t</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">MAC address rule definition.  <a href="structadi__mac___address_rule__t.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structadi__eth___mac_stat_counters__t.html">adi_eth_MacStatCounters_t</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">MAC statistics counters structure.  <a href="structadi__eth___mac_stat_counters__t.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structadi__mac___frame_header__t.html">adi_mac_FrameHeader_t</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">ADI frame header structure.  <a href="structadi__mac___frame_header__t.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structadi__eth___buf_desc__t.html">adi_eth_BufDesc_t</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">Buffer descriptor for Tx/Rx.  <a href="structadi__eth___buf_desc__t.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structadi__mac___fifo_sizes__t.html">adi_mac_FifoSizes_t</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">FIFO size configuration.  <a href="structadi__mac___fifo_sizes__t.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structadi__mac___ts_timer_config__t.html">adi_mac_TsTimerConfig_t</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">Configuration options for TS_TIMER waveform.  <a href="structadi__mac___ts_timer_config__t.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structadi__mac___ts_timespec__t.html">adi_mac_TsTimespec_t</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">Structure to hold time from parsed timestamps.  <a href="structadi__mac___ts_timespec__t.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structadi__mac___oa_error_stats__t.html">adi_mac_OaErrorStats_t</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">Error statistics (OPEN Alliance).  <a href="structadi__mac___oa_error_stats__t.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structadi__mac___status_registers__t.html">adi_mac_StatusRegisters_t</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">Status register values and interrupt events.  <a href="structadi__mac___status_registers__t.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structadi__mac___frame_struct__t.html">adi_mac_FrameStruct_t</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">Frame structure.  <a href="structadi__mac___frame_struct__t.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structadi__mac___queue__t.html">adi_mac_Queue_t</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">Queue to hold frames.  <a href="structadi__mac___queue__t.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structadi__mac___device__t.html">adi_mac_Device_t</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">Device descriptor structure.  <a href="structadi__mac___device__t.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="define-members"></a>
Macros</h2></td></tr>
<tr class="memitem:ga1ad1fb949415afd2a0db25f573ccf923"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__mac.html#ga1ad1fb949415afd2a0db25f573ccf923">ADI_MAC_ADDR_NUM_ENTRIES</a>&#160;&#160;&#160;(16)</td></tr>
<tr class="separator:ga1ad1fb949415afd2a0db25f573ccf923"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gacafec0dc026da253178cde746b8130b5"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__mac.html#gacafec0dc026da253178cde746b8130b5">TX_QUEUE_NUM_ENTRIES</a>&#160;&#160;&#160;(4)</td></tr>
<tr class="separator:gacafec0dc026da253178cde746b8130b5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaf93563d8a4c5f56dd65f68822bb77233"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__mac.html#gaf93563d8a4c5f56dd65f68822bb77233">RX_QUEUE_NUM_ENTRIES</a>&#160;&#160;&#160;(4)</td></tr>
<tr class="separator:gaf93563d8a4c5f56dd65f68822bb77233"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga1539811602dc0360f7ebad0f17b22a53"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__mac.html#ga1539811602dc0360f7ebad0f17b22a53">RX_QUEUE_NUM_ENTRIES_RAW</a>&#160;&#160;&#160;(<a class="el" href="group__mac.html#gaf93563d8a4c5f56dd65f68822bb77233">RX_QUEUE_NUM_ENTRIES</a> + 1)</td></tr>
<tr class="separator:ga1539811602dc0360f7ebad0f17b22a53"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaf81ca615451f7f042c5fad6c63361c2a"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__mac.html#gaf81ca615451f7f042c5fad6c63361c2a">TX_QUEUE_NUM_ENTRIES_RAW</a>&#160;&#160;&#160;(<a class="el" href="group__mac.html#gacafec0dc026da253178cde746b8130b5">TX_QUEUE_NUM_ENTRIES</a> + 1)</td></tr>
<tr class="separator:gaf81ca615451f7f042c5fad6c63361c2a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga4d0fdade12e6ed3550041deca59cd024"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__mac.html#ga4d0fdade12e6ed3550041deca59cd024">ADI_MAC_DEVICE_SIZE_COMMON</a></td></tr>
<tr class="separator:ga4d0fdade12e6ed3550041deca59cd024"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gac12e0915efcbbf915a9e0fa924a4c7a3"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__mac.html#gac12e0915efcbbf915a9e0fa924a4c7a3">ADI_MAC_DEVICE_SIZE_QUEUE_HI</a>&#160;&#160;&#160;(0)</td></tr>
<tr class="separator:gac12e0915efcbbf915a9e0fa924a4c7a3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaf2fafb32cd1b6e65f9d5e3be32096dfc"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__mac.html#gaf2fafb32cd1b6e65f9d5e3be32096dfc">ADI_MAC_DEVICE_SIZE_OA</a>&#160;&#160;&#160;(2 * 4 + 15 * 4 + sizeof(<a class="el" href="structadi__mac___oa_error_stats__t.html">adi_mac_OaErrorStats_t</a>) + <a class="el" href="group__mac.html#ga2270f76034eebf4c205de57c7edadd63">ADI_OA_RX_BACKUP_BUF_SIZE</a> + 2 * <a class="el" href="group__mac.html#ga7703787d9b49b32f0c042f5b54a5601b">ADI_MAC_SPI_CTRL_BUF_SIZE</a>)</td></tr>
<tr class="separator:gaf2fafb32cd1b6e65f9d5e3be32096dfc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gadc674eb8ba7e4242debde0261acbc858"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__mac.html#gadc674eb8ba7e4242debde0261acbc858">ADI_MAC_DEVICE_SIZE</a>&#160;&#160;&#160;(<a class="el" href="group__mac.html#ga4d0fdade12e6ed3550041deca59cd024">ADI_MAC_DEVICE_SIZE_COMMON</a> + <a class="el" href="group__mac.html#gac12e0915efcbbf915a9e0fa924a4c7a3">ADI_MAC_DEVICE_SIZE_QUEUE_HI</a> + <a class="el" href="group__mac.html#gaf2fafb32cd1b6e65f9d5e3be32096dfc">ADI_MAC_DEVICE_SIZE_OA</a>)</td></tr>
<tr class="separator:gadc674eb8ba7e4242debde0261acbc858"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gacd9997f5f568541c1a98d1dabdd8dcff"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__mac.html#gacd9997f5f568541c1a98d1dabdd8dcff">ADI_MAC_ADDR_MASK_MAX</a>&#160;&#160;&#160;(2)</td></tr>
<tr class="separator:gacd9997f5f568541c1a98d1dabdd8dcff"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gac14f30c34f69df90b962627f029797d6"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__mac.html#gac14f30c34f69df90b962627f029797d6">ADI_MAC_SPI_TRANSACTION_DATA</a>&#160;&#160;&#160;(0)</td></tr>
<tr class="separator:gac14f30c34f69df90b962627f029797d6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gad77eaf70e4203c75973f8623528ad333"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__mac.html#gad77eaf70e4203c75973f8623528ad333">ADI_MAC_SPI_TRANSACTION_CONTROL</a>&#160;&#160;&#160;(1)</td></tr>
<tr class="separator:gad77eaf70e4203c75973f8623528ad333"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga81ca48a0d4a00a309e00d11cfbb5e375"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__mac.html#ga81ca48a0d4a00a309e00d11cfbb5e375">ADI_MAC_SPI_READ</a>&#160;&#160;&#160;(0)</td></tr>
<tr class="separator:ga81ca48a0d4a00a309e00d11cfbb5e375"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga9fda12e80e8a6f7cfbfefa97979ba79b"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__mac.html#ga9fda12e80e8a6f7cfbfefa97979ba79b">ADI_MAC_SPI_WRITE</a>&#160;&#160;&#160;(1)</td></tr>
<tr class="separator:ga9fda12e80e8a6f7cfbfefa97979ba79b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga64edd1a44e0548ae5e43dfa5a9d0319f"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__mac.html#ga64edd1a44e0548ae5e43dfa5a9d0319f">ADI_MAC_SPI_ACCESS_SIZE</a>&#160;&#160;&#160;(4)</td></tr>
<tr class="separator:ga64edd1a44e0548ae5e43dfa5a9d0319f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gac3137fea21a2c0aea3c812afc4cf012b"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__mac.html#gac3137fea21a2c0aea3c812afc4cf012b">ADI_MAC_SPI_ACCESS_UNIT_TYPE</a>&#160;&#160;&#160;uint32_t</td></tr>
<tr class="separator:gac3137fea21a2c0aea3c812afc4cf012b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gae1bb30b27458742dc231b614fe978518"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__mac.html#gae1bb30b27458742dc231b614fe978518">ADI_MAC_MDIO_MAX_COUNT</a>&#160;&#160;&#160;(8)</td></tr>
<tr class="separator:gae1bb30b27458742dc231b614fe978518"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga37c8736ffee373ee7b705c96cba696ad"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__mac.html#ga37c8736ffee373ee7b705c96cba696ad">ADI_MAC_MDIO_PARALLEL_COUNT</a>&#160;&#160;&#160;(2)</td></tr>
<tr class="separator:ga37c8736ffee373ee7b705c96cba696ad"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gab7b8b4752681b2c948613f29b8dc8a3c"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__mac.html#gab7b8b4752681b2c948613f29b8dc8a3c">ADI_MAC_FIFO_MAX_SIZE</a>&#160;&#160;&#160;(28)</td></tr>
<tr class="separator:gab7b8b4752681b2c948613f29b8dc8a3c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga711860cbabe70c6740bedeed960e071e"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__mac.html#ga711860cbabe70c6740bedeed960e071e">ADI_MAC_MDIO_MAX_RETRIES</a>&#160;&#160;&#160;(10)</td></tr>
<tr class="separator:ga711860cbabe70c6740bedeed960e071e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga7703787d9b49b32f0c042f5b54a5601b"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__mac.html#ga7703787d9b49b32f0c042f5b54a5601b">ADI_MAC_SPI_CTRL_BUF_SIZE</a>&#160;&#160;&#160;(256)</td></tr>
<tr class="separator:ga7703787d9b49b32f0c042f5b54a5601b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaa70f9e182469bd80269b70683e064581"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__mac.html#gaa70f9e182469bd80269b70683e064581">ADI_SPI_TIMEOUT</a>&#160;&#160;&#160;(100000)</td></tr>
<tr class="separator:gaa70f9e182469bd80269b70683e064581"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga239129b76c2238ad1d043fdfe2b8c5b7"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__mac.html#ga239129b76c2238ad1d043fdfe2b8c5b7">RST_MAC_ONLY_KEY1</a>&#160;&#160;&#160;(0x4F1C)</td></tr>
<tr class="separator:ga239129b76c2238ad1d043fdfe2b8c5b7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga16d453f4e7e0fe468c08275566d96fe7"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__mac.html#ga16d453f4e7e0fe468c08275566d96fe7">RST_MAC_ONLY_KEY2</a>&#160;&#160;&#160;(0xC1F4)</td></tr>
<tr class="separator:ga16d453f4e7e0fe468c08275566d96fe7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gad9ce108db86d4ac02efbcfc94cb2ac52"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__mac.html#gad9ce108db86d4ac02efbcfc94cb2ac52">ADI_MAC_IF_UP_MAX_RETRIES</a>&#160;&#160;&#160;(25000)</td></tr>
<tr class="separator:gad9ce108db86d4ac02efbcfc94cb2ac52"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga05af30efa24ed7dee60a309552addbd7"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__mac.html#ga05af30efa24ed7dee60a309552addbd7">ADI_MAC_INIT_MAX_RETRIES</a>&#160;&#160;&#160;(25000)</td></tr>
<tr class="separator:ga05af30efa24ed7dee60a309552addbd7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga50a207c28cb59d177a9db611cc1faea4"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__mac.html#ga50a207c28cb59d177a9db611cc1faea4">MIN_FRAME_SIZE</a>&#160;&#160;&#160;(60)</td></tr>
<tr class="separator:ga50a207c28cb59d177a9db611cc1faea4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gad15d35a0d29a9dbf9324e3859ce3b008"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__mac.html#gad15d35a0d29a9dbf9324e3859ce3b008">MAX_FRAME_SIZE</a>&#160;&#160;&#160;(1518)</td></tr>
<tr class="separator:gad15d35a0d29a9dbf9324e3859ce3b008"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga1c538eaa7c5b23999d65d554c6cc8496"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__mac.html#ga1c538eaa7c5b23999d65d554c6cc8496">FCS_SIZE</a>&#160;&#160;&#160;(4)</td></tr>
<tr class="separator:ga1c538eaa7c5b23999d65d554c6cc8496"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga8a755350051bda40ba90eeef1f3b2807"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__mac.html#ga8a755350051bda40ba90eeef1f3b2807">ADI_OA_RX_BACKUP_BUF_CHUNK_COUNT</a>&#160;&#160;&#160;(1)</td></tr>
<tr class="separator:ga8a755350051bda40ba90eeef1f3b2807"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga2270f76034eebf4c205de57c7edadd63"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__mac.html#ga2270f76034eebf4c205de57c7edadd63">ADI_OA_RX_BACKUP_BUF_SIZE</a>&#160;&#160;&#160;(68 * <a class="el" href="group__mac.html#ga8a755350051bda40ba90eeef1f3b2807">ADI_OA_RX_BACKUP_BUF_CHUNK_COUNT</a>)</td></tr>
<tr class="separator:ga2270f76034eebf4c205de57c7edadd63"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga0a3add4ceeb8a319995cd7bf1e6f73ce"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__mac.html#ga0a3add4ceeb8a319995cd7bf1e6f73ce">ADI_MAC_PHY_STATUS_INIT_VAL</a>&#160;&#160;&#160;(0x7FFF7FFF)</td></tr>
<tr class="separator:ga0a3add4ceeb8a319995cd7bf1e6f73ce"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaf6871672d7534fe10cfebb2ddc1d4bba"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__mac.html#gaf6871672d7534fe10cfebb2ddc1d4bba">ADI_MAC_TS_QE_MASK</a>&#160;&#160;&#160;(0xF)</td></tr>
<tr class="separator:gaf6871672d7534fe10cfebb2ddc1d4bba"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga8026e7363cb4d4f2eb67fa8baf1c30f5"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__mac.html#ga8026e7363cb4d4f2eb67fa8baf1c30f5">ADI_MAC_TS_MIN_NS</a>&#160;&#160;&#160;(16)</td></tr>
<tr class="separator:ga8026e7363cb4d4f2eb67fa8baf1c30f5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga51c3192b54b682561f0e73f190335cbb"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__mac.html#ga51c3192b54b682561f0e73f190335cbb">ADI_MAC_TS_ONE_SECOND_IN_NS</a>&#160;&#160;&#160;(1000000000ULL)</td></tr>
<tr class="separator:ga51c3192b54b682561f0e73f190335cbb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga5e90cb00dc6b7e9890223a0e2f3f72db"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__mac.html#ga5e90cb00dc6b7e9890223a0e2f3f72db">ADI_MAC_TS_1588_NS_MASK</a>&#160;&#160;&#160;(0x3FFFFFFF)</td></tr>
<tr class="separator:ga5e90cb00dc6b7e9890223a0e2f3f72db"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga47bf250580d97a902433e28414967f08"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__mac.html#ga47bf250580d97a902433e28414967f08">ADI_MAC_TS_1588_SEC_MASK</a>&#160;&#160;&#160;(0xC0000000)</td></tr>
<tr class="separator:ga47bf250580d97a902433e28414967f08"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga458811ccb595cfab2f09c32781e42e28"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__mac.html#ga458811ccb595cfab2f09c32781e42e28">ADI_MAC_TS_1588_SEC_POS</a>&#160;&#160;&#160;(28)</td></tr>
<tr class="separator:ga458811ccb595cfab2f09c32781e42e28"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gad23ebc5bf76317a23d9654343b5a6513"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__mac.html#gad23ebc5bf76317a23d9654343b5a6513">ADI_MAC_TS_FREE_CNT_LSB_IN_NS</a>&#160;&#160;&#160;(100.0/12.0)</td></tr>
<tr class="separator:gad23ebc5bf76317a23d9654343b5a6513"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga56b71b8eeb28ff16c668d353f8cbe1eb"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__mac.html#ga56b71b8eeb28ff16c668d353f8cbe1eb">HTON16</a>(a)&#160;&#160;&#160;((uint16_t)((((a) &amp; 0xFF) &lt;&lt; 8) | (((a) &gt;&gt; 8) &amp; 0xFF)))</td></tr>
<tr class="separator:ga56b71b8eeb28ff16c668d353f8cbe1eb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga166e24ee0eb388f777d5fdc2eb942dc4"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__mac.html#ga166e24ee0eb388f777d5fdc2eb942dc4">HTON32</a>(a)&#160;&#160;&#160;__REV((a))</td></tr>
<tr class="separator:ga166e24ee0eb388f777d5fdc2eb942dc4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga1620728be1cbe335b8ef23fae13b186f"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__mac.html#ga1620728be1cbe335b8ef23fae13b186f">DEVTYPE</a>(a)&#160;&#160;&#160;(a &gt;&gt; 16)</td></tr>
<tr class="separator:ga1620728be1cbe335b8ef23fae13b186f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gae3dced2ef5279e3c7ea8ee316b3d47ad"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__mac.html#gae3dced2ef5279e3c7ea8ee316b3d47ad">REGADDR</a>(a)&#160;&#160;&#160;(a &amp; 0xFFFF)</td></tr>
<tr class="separator:gae3dced2ef5279e3c7ea8ee316b3d47ad"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="enum-members"></a>
Enumerations</h2></td></tr>
<tr class="memitem:ga5f8228e638224855f0b2baa6297de8f9"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__mac.html#ga5f8228e638224855f0b2baa6297de8f9">adi_mac_State_e</a> { <br />
&#160;&#160;<a class="el" href="group__mac.html#gga5f8228e638224855f0b2baa6297de8f9a0f7e0571e1ff63757c892c0d840ec5df">ADI_MAC_STATE_UNINITIALIZED</a> = 0
, <a class="el" href="group__mac.html#gga5f8228e638224855f0b2baa6297de8f9a0a7cd8c3a4e8f05e1358ed6007122374">ADI_MAC_STATE_INITIALIZED</a>
, <a class="el" href="group__mac.html#gga5f8228e638224855f0b2baa6297de8f9a6981e47e69e28c4beb99f66dc82daa15">ADI_MAC_STATE_READY</a>
, <a class="el" href="group__mac.html#gga5f8228e638224855f0b2baa6297de8f9a520b92d980ab4bb678079799664a9d15">ADI_MAC_STATE_TX_FRAME</a>
, <br />
&#160;&#160;<a class="el" href="group__mac.html#gga5f8228e638224855f0b2baa6297de8f9a632353379e8703e37ff0c1dea5b37d57">ADI_MAC_STATE_RX_FRAME</a>
, <a class="el" href="group__mac.html#gga5f8228e638224855f0b2baa6297de8f9af6805677fe31b040a8ebc6d9cfcd66eb">ADI_MAC_STATE_CONTROL_START</a>
, <a class="el" href="group__mac.html#gga5f8228e638224855f0b2baa6297de8f9ab1a992a177d104d9d1d9e68cd747284b">ADI_MAC_STATE_CONTROL_END</a>
, <a class="el" href="group__mac.html#gga5f8228e638224855f0b2baa6297de8f9a6d10b8028939394bb3f9df33bec6226b">ADI_MAC_STATE_DATA_START</a>
, <br />
&#160;&#160;<a class="el" href="group__mac.html#gga5f8228e638224855f0b2baa6297de8f9a26b31d9f99c3320d8586b7d262589254">ADI_MAC_STATE_DATA_END</a>
, <a class="el" href="group__mac.html#gga5f8228e638224855f0b2baa6297de8f9a8f1b6109b6961f36f1c8730c9cf88cdb">ADI_MAC_STATE_IRQ_START</a>
, <a class="el" href="group__mac.html#gga5f8228e638224855f0b2baa6297de8f9a8f6a563be32b7ffd44f914a102032d97">ADI_MAC_STATE_DATA_READ_STATUS</a>
, <b>ADI_MAC_STATE_DATA_READ_PHY_REGISTER</b>
<br />
 }</td></tr>
<tr class="memdesc:ga5f8228e638224855f0b2baa6297de8f9"><td class="mdescLeft">&#160;</td><td class="mdescRight">Driver states States can be used in both generic SPI and OPEN Alliance SPI, or for just one protocol.  <a href="group__mac.html#ga5f8228e638224855f0b2baa6297de8f9">More...</a><br /></td></tr>
<tr class="separator:ga5f8228e638224855f0b2baa6297de8f9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga2642a216450f6fbc7679bf7bb4a8069e"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__mac.html#ga2642a216450f6fbc7679bf7bb4a8069e">adi_mac_SpiState_e</a> { <br />
&#160;&#160;<a class="el" href="group__mac.html#gga2642a216450f6fbc7679bf7bb4a8069ea40c47801ac2f0f4b4660ab08fbfa5488">ADI_MAC_SPI_STATE_READY</a> = 0
, <a class="el" href="group__mac.html#gga2642a216450f6fbc7679bf7bb4a8069ea9aa70b7a195dfa41821ab4f6e63b1961">ADI_MAC_SPI_STATE_RX</a>
, <a class="el" href="group__mac.html#gga2642a216450f6fbc7679bf7bb4a8069ea49c2fc18756942eeb05880f00223d121">ADI_MAC_SPI_STATE_RX_FRAME</a>
, <a class="el" href="group__mac.html#gga2642a216450f6fbc7679bf7bb4a8069ea47c8d886dd77968a490a55c455164b04">ADI_MAC_SPI_STATE_TX</a>
, <br />
&#160;&#160;<a class="el" href="group__mac.html#gga2642a216450f6fbc7679bf7bb4a8069ea0b0639612cfd23e045406cf64b5557ea">ADI_MAC_SPI_STATE_TX_FRAME</a>
<br />
 }</td></tr>
<tr class="memdesc:ga2642a216450f6fbc7679bf7bb4a8069e"><td class="mdescLeft">&#160;</td><td class="mdescRight">SPI interface state.  <a href="group__mac.html#ga2642a216450f6fbc7679bf7bb4a8069e">More...</a><br /></td></tr>
<tr class="separator:ga2642a216450f6fbc7679bf7bb4a8069e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga9fe6bdd6bd80b35aba6334779ad340f0"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__mac.html#ga9fe6bdd6bd80b35aba6334779ad340f0">adi_mac_EgressCapture_e</a> { <a class="el" href="group__mac.html#gga9fe6bdd6bd80b35aba6334779ad340f0a172bc4706fb94c340c6d76561ddd812e">ADI_MAC_EGRESS_CAPTURE_NONE</a> = 0
, <a class="el" href="group__mac.html#gga9fe6bdd6bd80b35aba6334779ad340f0ad9a867e4d73198d5738840103be8c801">ADI_MAC_EGRESS_CAPTURE_A</a>
, <a class="el" href="group__mac.html#gga9fe6bdd6bd80b35aba6334779ad340f0a8ba5cd0a9bfd013c2ff7c141f6aba8ba">ADI_MAC_EGRESS_CAPTURE_B</a>
, <a class="el" href="group__mac.html#gga9fe6bdd6bd80b35aba6334779ad340f0a61519359f316fd34b9fcac621d2f9844">ADI_MAC_EGRESS_CAPTURE_C</a>
 }</td></tr>
<tr class="memdesc:ga9fe6bdd6bd80b35aba6334779ad340f0"><td class="mdescLeft">&#160;</td><td class="mdescRight">Egress timestamp capture.  <a href="group__mac.html#ga9fe6bdd6bd80b35aba6334779ad340f0">More...</a><br /></td></tr>
<tr class="separator:ga9fe6bdd6bd80b35aba6334779ad340f0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga596e18d2751971a252c829dfdb60e6d1"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__mac.html#ga596e18d2751971a252c829dfdb60e6d1">adi_mac_InterruptEvt_e</a> { <br />
&#160;&#160;<a class="el" href="group__mac.html#gga596e18d2751971a252c829dfdb60e6d1af69d1663f117190dc706663ea6d83062">ADI_MAC_EVT_LINK_CHANGE</a> = 0
, <a class="el" href="group__mac.html#gga596e18d2751971a252c829dfdb60e6d1aa842c12d954a4ce7f8f239d5ca42b36b">ADI_MAC_EVT_TX_RDY</a>
, <a class="el" href="group__mac.html#gga596e18d2751971a252c829dfdb60e6d1a22824bf2479a2579d99edd59f3ecc9b0">ADI_MAC_EVT_P1_RX_RDY</a>
, <a class="el" href="group__mac.html#gga596e18d2751971a252c829dfdb60e6d1aa1b24452c415eccf56fda98e7fd1eeaa">ADI_MAC_EVT_STATUS</a>
, <br />
&#160;&#160;<a class="el" href="group__mac.html#gga596e18d2751971a252c829dfdb60e6d1a399f12b709296b4645e10e33d0f12921">ADI_MAC_EVT_RX_FRAME_RDY</a>
, <a class="el" href="group__mac.html#gga596e18d2751971a252c829dfdb60e6d1a9f59de7c4469e50ea5b5d909e354e16e">ADI_MAC_EVT_TIMESTAMP_RDY</a>
, <a class="el" href="group__mac.html#gga596e18d2751971a252c829dfdb60e6d1a95b1716b066f50b3117507b44c95f652">ADI_MAC_EVT_MAX</a>
<br />
 }</td></tr>
<tr class="memdesc:ga596e18d2751971a252c829dfdb60e6d1"><td class="mdescLeft">&#160;</td><td class="mdescRight">MAC callback events. Driver supports installing callbacks for the events defined here.  <a href="group__mac.html#ga596e18d2751971a252c829dfdb60e6d1">More...</a><br /></td></tr>
<tr class="separator:ga596e18d2751971a252c829dfdb60e6d1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaf32e59fc221a9707d5f9c2d8b897e525"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__mac.html#gaf32e59fc221a9707d5f9c2d8b897e525">adi_eth_LinkStatus_e</a> { <a class="el" href="group__mac.html#ggaf32e59fc221a9707d5f9c2d8b897e525ad94c936ebbff68041b2c316323fd4cfd">ADI_ETH_LINK_STATUS_DOWN</a> = (0)
, <a class="el" href="group__mac.html#ggaf32e59fc221a9707d5f9c2d8b897e525a8dfcc7a4f28926ed358f83eda0c8f2f6">ADI_ETH_LINK_STATUS_UP</a> = (1)
 }</td></tr>
<tr class="memdesc:gaf32e59fc221a9707d5f9c2d8b897e525"><td class="mdescLeft">&#160;</td><td class="mdescRight">Link status read from the MAC interface (MAC_STATUS register).  <a href="group__mac.html#gaf32e59fc221a9707d5f9c2d8b897e525">More...</a><br /></td></tr>
<tr class="separator:gaf32e59fc221a9707d5f9c2d8b897e525"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga00cc8a8b829d6251008d793be4ea5ce7"><td class="memItemLeft" align="right" valign="top"><a id="ga00cc8a8b829d6251008d793be4ea5ce7"></a>enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__mac.html#ga00cc8a8b829d6251008d793be4ea5ce7">adi_mac_RxFifoPrio_e</a> { <b>ADI_MAC_RX_FIFO_PRIO_LOW</b> = 0
, <b>ADI_MAC_RX_FIFO_PRIO_HIGH</b>
 }</td></tr>
<tr class="memdesc:ga00cc8a8b829d6251008d793be4ea5ce7"><td class="mdescLeft">&#160;</td><td class="mdescRight">Link status read from the MAC interface (MAC_STATUS register). <br /></td></tr>
<tr class="separator:ga00cc8a8b829d6251008d793be4ea5ce7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaee7ffa1baa6ef36a087b76a44831d9da"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__mac.html#gaee7ffa1baa6ef36a087b76a44831d9da">adi_eth_ResetType_e</a> { <a class="el" href="group__mac.html#ggaee7ffa1baa6ef36a087b76a44831d9daab36bab4b10891928376b7c49b2ad80bd">ADI_ETH_RESET_TYPE_MAC_ONLY</a> = 0
, <a class="el" href="group__mac.html#ggaee7ffa1baa6ef36a087b76a44831d9daac0fb5425234338e69fb0f3fc5958dded">ADI_ETH_RESET_TYPE_MAC_PHY</a>
 }</td></tr>
<tr class="memdesc:gaee7ffa1baa6ef36a087b76a44831d9da"><td class="mdescLeft">&#160;</td><td class="mdescRight">Reset definitions.  <a href="group__mac.html#gaee7ffa1baa6ef36a087b76a44831d9da">More...</a><br /></td></tr>
<tr class="separator:gaee7ffa1baa6ef36a087b76a44831d9da"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga0ed0e5b7369c408a157b3c2d0c77f24c"><td class="memItemLeft" align="right" valign="top"><a id="ga0ed0e5b7369c408a157b3c2d0c77f24c"></a>enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__mac.html#ga0ed0e5b7369c408a157b3c2d0c77f24c">adi_mac_RxFifoSize_e</a> { <br />
&#160;&#160;<b>ADI_MAC_RX_FIFO_SIZE_2K</b> = (MAC_FIFO_SIZE_P1_RX_HI_SIZE_RXSIZE_2K)
, <b>ADI_MAC_RX_FIFO_SIZE_0K</b> = (MAC_FIFO_SIZE_P1_RX_HI_SIZE_RXSIZE_0K)
, <b>ADI_MAC_RX_FIFO_SIZE_4K</b> = (MAC_FIFO_SIZE_P1_RX_HI_SIZE_RXSIZE_4K)
, <b>ADI_MAC_RX_FIFO_SIZE_6K</b> = (MAC_FIFO_SIZE_P1_RX_HI_SIZE_RXSIZE_6K)
, <br />
&#160;&#160;<b>ADI_MAC_RX_FIFO_SIZE_8K</b> = (MAC_FIFO_SIZE_P1_RX_HI_SIZE_RXSIZE_8K)
, <b>ADI_MAC_RX_FIFO_SIZE_10K</b> = (MAC_FIFO_SIZE_P1_RX_HI_SIZE_RXSIZE_10K)
, <b>ADI_MAC_RX_FIFO_SIZE_12K</b> = (MAC_FIFO_SIZE_P1_RX_HI_SIZE_RXSIZE_12K)
, <b>ADI_MAC_RX_FIFO_SIZE_14K</b> = (MAC_FIFO_SIZE_P1_RX_HI_SIZE_RXSIZE_14K)
, <br />
&#160;&#160;<b>ADI_MAC_RX_FIFO_SIZE_16K</b> = (MAC_FIFO_SIZE_P1_RX_HI_SIZE_RXSIZE_16K)
<br />
 }</td></tr>
<tr class="memdesc:ga0ed0e5b7369c408a157b3c2d0c77f24c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Receive FIFO size definitions. <br /></td></tr>
<tr class="separator:ga0ed0e5b7369c408a157b3c2d0c77f24c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gabe144176d5cf56c1915a3e570bf7fdef"><td class="memItemLeft" align="right" valign="top"><a id="gabe144176d5cf56c1915a3e570bf7fdef"></a>enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__mac.html#gabe144176d5cf56c1915a3e570bf7fdef">adi_mac_HtxFifoSize_e</a> { <br />
&#160;&#160;<b>ADI_MAC_HTX_FIFO_SIZE_0K</b> = (MAC_FIFO_SIZE_HTX_SIZE_TXSIZE_0K)
, <b>ADI_MAC_HTX_FIFO_SIZE_2K</b> = (MAC_FIFO_SIZE_HTX_SIZE_TXSIZE_2K)
, <b>ADI_MAC_HTX_FIFO_SIZE_4K</b> = (MAC_FIFO_SIZE_HTX_SIZE_TXSIZE_4K)
, <b>ADI_MAC_HTX_FIFO_SIZE_6K</b> = (MAC_FIFO_SIZE_HTX_SIZE_TXSIZE_6K)
, <br />
&#160;&#160;<b>ADI_MAC_HTX_FIFO_SIZE_8K</b> = (MAC_FIFO_SIZE_HTX_SIZE_TXSIZE_8K)
, <b>ADI_MAC_HTX_FIFO_SIZE_10K</b> = (MAC_FIFO_SIZE_HTX_SIZE_TXSIZE_10K)
, <b>ADI_MAC_HTX_FIFO_SIZE_12K</b> = (MAC_FIFO_SIZE_HTX_SIZE_TXSIZE_12K)
, <b>ADI_MAC_HTX_FIFO_SIZE_14K</b> = (MAC_FIFO_SIZE_HTX_SIZE_TXSIZE_14K)
, <br />
&#160;&#160;<b>ADI_MAC_HTX_FIFO_SIZE_16K</b> = (MAC_FIFO_SIZE_HTX_SIZE_TXSIZE_16K)
<br />
 }</td></tr>
<tr class="memdesc:gabe144176d5cf56c1915a3e570bf7fdef"><td class="mdescLeft">&#160;</td><td class="mdescRight">Host transmit FIFO size definitions. <br /></td></tr>
<tr class="separator:gabe144176d5cf56c1915a3e570bf7fdef"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga90cbc5f3c5a2059cbf60b67d4a5e0b4d"><td class="memItemLeft" align="right" valign="top"><a id="ga90cbc5f3c5a2059cbf60b67d4a5e0b4d"></a>enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__mac.html#ga90cbc5f3c5a2059cbf60b67d4a5e0b4d">adi_mac_FifoClrMode_e</a> { <b>ADI_MAC_CLEAR_RX_FIFO</b> = (BITM_MAC_FIFO_CLR_MAC_RXF_CLR)
, <b>ADI_MAC_CLEAR_TX_FIFO</b> = (BITM_MAC_FIFO_CLR_MAC_TXF_CLR)
 }</td></tr>
<tr class="memdesc:ga90cbc5f3c5a2059cbf60b67d4a5e0b4d"><td class="mdescLeft">&#160;</td><td class="mdescRight">FIFO clear mode. <br /></td></tr>
<tr class="separator:ga90cbc5f3c5a2059cbf60b67d4a5e0b4d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gab15ff3790a57b045fb990cc5550c60ef"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__mac.html#gab15ff3790a57b045fb990cc5550c60ef">adi_mac_TsFormat_e</a> { <a class="el" href="group__mac.html#ggab15ff3790a57b045fb990cc5550c60efaf386087bbeb5721f141bcfac6ddb557b">ADI_MAC_TS_FORMAT_NONE</a> = 0
, <a class="el" href="group__mac.html#ggab15ff3790a57b045fb990cc5550c60efa482e20945b9ac32e13cf4fb3861825c9">ADI_MAC_TS_FORMAT_32B_FREE</a>
, <a class="el" href="group__mac.html#ggab15ff3790a57b045fb990cc5550c60efa5314c73f0d0560e0f561765563521345">ADI_MAC_TS_FORMAT_32B_1588</a>
, <a class="el" href="group__mac.html#ggab15ff3790a57b045fb990cc5550c60efa97a6aaaa1050043e164c943a25df9a16">ADI_MAC_TS_FORMAT_64B_1588</a>
 }</td></tr>
<tr class="memdesc:gab15ff3790a57b045fb990cc5550c60ef"><td class="mdescLeft">&#160;</td><td class="mdescRight">Timestamp formats.  <a href="group__mac.html#gab15ff3790a57b045fb990cc5550c60ef">More...</a><br /></td></tr>
<tr class="separator:gab15ff3790a57b045fb990cc5550c60ef"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga6bd0356ecbec200c5fcecc2776d1f8d5"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__mac.html#ga6bd0356ecbec200c5fcecc2776d1f8d5">adi_mac_OaValidFlag_e</a> { <a class="el" href="group__mac.html#gga6bd0356ecbec200c5fcecc2776d1f8d5a7ec8bb4c344122ffe419f79dda792692">ADI_MAC_OA_VALID_FLAG_NONE</a> = 0
, <a class="el" href="group__mac.html#gga6bd0356ecbec200c5fcecc2776d1f8d5ada9145b0d7b07c9dcb7fb7c67cb97067">ADI_MAC_OA_VALID_FLAG_START</a>
, <a class="el" href="group__mac.html#gga6bd0356ecbec200c5fcecc2776d1f8d5a2b347bd06fa62322b89e088770b103cc">ADI_MAC_OA_VALID_FLAG_END</a>
 }</td></tr>
<tr class="memdesc:ga6bd0356ecbec200c5fcecc2776d1f8d5"><td class="mdescLeft">&#160;</td><td class="mdescRight">Latest valid flag (EV or SV) read from the footer.  <a href="group__mac.html#ga6bd0356ecbec200c5fcecc2776d1f8d5">More...</a><br /></td></tr>
<tr class="separator:ga6bd0356ecbec200c5fcecc2776d1f8d5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga99e3b87728292e9b5521bf69e7c4d253"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__mac.html#ga99e3b87728292e9b5521bf69e7c4d253">adi_mac_OaCps_e</a> { <a class="el" href="group__mac.html#gga99e3b87728292e9b5521bf69e7c4d253a4fe3c95b4813ae3a7df7336095aef481">ADI_MAC_OA_CPS_8BYTE</a> = (MAC_CONFIG0_CPS_CHUNK_8BYTE)
, <a class="el" href="group__mac.html#gga99e3b87728292e9b5521bf69e7c4d253a219e18de56b7bc53251c18b140878a68">ADI_MAC_OA_CPS_16BYTE</a> = (MAC_CONFIG0_CPS_CHUNK_16BYTE)
, <a class="el" href="group__mac.html#gga99e3b87728292e9b5521bf69e7c4d253a6f06b9c7c5ce857a8a0595a3b4da22aa">ADI_MAC_OA_CPS_32BYTE</a> = (MAC_CONFIG0_CPS_CHUNK_32BYTE)
, <a class="el" href="group__mac.html#gga99e3b87728292e9b5521bf69e7c4d253a42c31ea841dcf51f96a02d7c583d65db">ADI_MAC_OA_CPS_64BYTE</a> = (MAC_CONFIG0_CPS_CHUNK_64BYTE)
 }</td></tr>
<tr class="memdesc:ga99e3b87728292e9b5521bf69e7c4d253"><td class="mdescLeft">&#160;</td><td class="mdescRight">Chunk Payload Selector (OPEN Alliance).  <a href="group__mac.html#ga99e3b87728292e9b5521bf69e7c4d253">More...</a><br /></td></tr>
<tr class="separator:ga99e3b87728292e9b5521bf69e7c4d253"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader">MAC Callback Status</h2></td></tr>
<tr><td class="ititle" colspan="2"><p><a class="anchor" id="amgrp28b512a175698342de36c998249c03b3"></a>List of MAC callback status bits used ued by the buffer descriptor callback functions. </p>
</td></tr>
<tr class="memitem:ga86f314880a0aa2edda27a47087659740"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__mac.html#ga86f314880a0aa2edda27a47087659740">ADI_MAC_CALLBACK_STATUS_OK</a>&#160;&#160;&#160;(0)</td></tr>
<tr class="separator:ga86f314880a0aa2edda27a47087659740"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga418f3a76d9dd6c94a95f095f23534362"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__mac.html#ga418f3a76d9dd6c94a95f095f23534362">ADI_MAC_CALLBACK_STATUS_FCS_ERROR</a>&#160;&#160;&#160;(1 &lt;&lt; 0)</td></tr>
<tr class="separator:ga418f3a76d9dd6c94a95f095f23534362"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga938d453d7a5740d8be1634ea18a0a394"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__mac.html#ga938d453d7a5740d8be1634ea18a0a394">ADI_MAC_CALLBACK_STATUS_RX_BUF_OVF</a>&#160;&#160;&#160;(1 &lt;&lt; 1)</td></tr>
<tr class="separator:ga938d453d7a5740d8be1634ea18a0a394"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<h2 class="groupheader">Macro Definition Documentation</h2>
<a id="gacd9997f5f568541c1a98d1dabdd8dcff"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gacd9997f5f568541c1a98d1dabdd8dcff">&#9670;&nbsp;</a></span>ADI_MAC_ADDR_MASK_MAX</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define ADI_MAC_ADDR_MASK_MAX&#160;&#160;&#160;(2)</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>MAC address filter table entries that allow usage of a mask. </p>

</div>
</div>
<a id="ga1ad1fb949415afd2a0db25f573ccf923"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga1ad1fb949415afd2a0db25f573ccf923">&#9670;&nbsp;</a></span>ADI_MAC_ADDR_NUM_ENTRIES</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define ADI_MAC_ADDR_NUM_ENTRIES&#160;&#160;&#160;(16)</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Maximum number of MAC addresses allowed by the MAC device. </p>

</div>
</div>
<a id="ga418f3a76d9dd6c94a95f095f23534362"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga418f3a76d9dd6c94a95f095f23534362">&#9670;&nbsp;</a></span>ADI_MAC_CALLBACK_STATUS_FCS_ERROR</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define ADI_MAC_CALLBACK_STATUS_FCS_ERROR&#160;&#160;&#160;(1 &lt;&lt; 0)</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>An FCS error was encountered. Note this is caused by validating the FCS on the host MCU to check the integrity of the SPI transaction. The FCS of the incoming frame is checked by the MAC hardware when the frame is received, and has no effect on this status bit. </p>

</div>
</div>
<a id="ga86f314880a0aa2edda27a47087659740"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga86f314880a0aa2edda27a47087659740">&#9670;&nbsp;</a></span>ADI_MAC_CALLBACK_STATUS_OK</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define ADI_MAC_CALLBACK_STATUS_OK&#160;&#160;&#160;(0)</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Status OK. </p>

</div>
</div>
<a id="ga938d453d7a5740d8be1634ea18a0a394"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga938d453d7a5740d8be1634ea18a0a394">&#9670;&nbsp;</a></span>ADI_MAC_CALLBACK_STATUS_RX_BUF_OVF</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define ADI_MAC_CALLBACK_STATUS_RX_BUF_OVF&#160;&#160;&#160;(1 &lt;&lt; 1)</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Buffer overflow on receive. The buffer submitted by the application is too small to contain the full frame received. </p>

</div>
</div>
<a id="gadc674eb8ba7e4242debde0261acbc858"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gadc674eb8ba7e4242debde0261acbc858">&#9670;&nbsp;</a></span>ADI_MAC_DEVICE_SIZE</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define ADI_MAC_DEVICE_SIZE&#160;&#160;&#160;(<a class="el" href="group__mac.html#ga4d0fdade12e6ed3550041deca59cd024">ADI_MAC_DEVICE_SIZE_COMMON</a> + <a class="el" href="group__mac.html#gac12e0915efcbbf915a9e0fa924a4c7a3">ADI_MAC_DEVICE_SIZE_QUEUE_HI</a> + <a class="el" href="group__mac.html#gaf2fafb32cd1b6e65f9d5e3be32096dfc">ADI_MAC_DEVICE_SIZE_OA</a>)</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Size of the MAC device structure, in bytes. Needs to be a multiple of 4. Note the actual size will depend on packing of non-uint32_t members. </p>

</div>
</div>
<a id="ga4d0fdade12e6ed3550041deca59cd024"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga4d0fdade12e6ed3550041deca59cd024">&#9670;&nbsp;</a></span>ADI_MAC_DEVICE_SIZE_COMMON</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define ADI_MAC_DEVICE_SIZE_COMMON</td>
        </tr>
      </table>
</div><div class="memdoc">
<b>Value:</b><div class="fragment"><div class="line">                                         (4 * 4 + 6 * 4 + 8 * <a class="code" href="group__mac.html#gga596e18d2751971a252c829dfdb60e6d1a95b1716b066f50b3117507b44c95f652">ADI_MAC_EVT_MAX</a> + \</div>
<div class="line">                                         (<a class="code" href="group__mac.html#gaf81ca615451f7f042c5fad6c63361c2a">TX_QUEUE_NUM_ENTRIES_RAW</a> + <a class="code" href="group__mac.html#ga1539811602dc0360f7ebad0f17b22a53">RX_QUEUE_NUM_ENTRIES_RAW</a>) * <span class="keyword">sizeof</span>(<a class="code" href="structadi__mac___frame_struct__t.html">adi_mac_FrameStruct_t</a>) + \</div>
<div class="line">                                         2 * <span class="keyword">sizeof</span>(<a class="code" href="structadi__mac___queue__t.html">adi_mac_Queue_t</a>) + \</div>
<div class="line">                                         <span class="keyword">sizeof</span>(<a class="code" href="structadi__mac___status_registers__t.html">adi_mac_StatusRegisters_t</a>))</div>
<div class="ttc" id="agroup__mac_html_ga1539811602dc0360f7ebad0f17b22a53"><div class="ttname"><a href="group__mac.html#ga1539811602dc0360f7ebad0f17b22a53">RX_QUEUE_NUM_ENTRIES_RAW</a></div><div class="ttdeci">#define RX_QUEUE_NUM_ENTRIES_RAW</div><div class="ttdef"><b>Definition:</b> adi_mac.h:55</div></div>
<div class="ttc" id="agroup__mac_html_gaf81ca615451f7f042c5fad6c63361c2a"><div class="ttname"><a href="group__mac.html#gaf81ca615451f7f042c5fad6c63361c2a">TX_QUEUE_NUM_ENTRIES_RAW</a></div><div class="ttdeci">#define TX_QUEUE_NUM_ENTRIES_RAW</div><div class="ttdef"><b>Definition:</b> adi_mac.h:57</div></div>
<div class="ttc" id="agroup__mac_html_gga596e18d2751971a252c829dfdb60e6d1a95b1716b066f50b3117507b44c95f652"><div class="ttname"><a href="group__mac.html#gga596e18d2751971a252c829dfdb60e6d1a95b1716b066f50b3117507b44c95f652">ADI_MAC_EVT_MAX</a></div><div class="ttdeci">@ ADI_MAC_EVT_MAX</div><div class="ttdef"><b>Definition:</b> adi_mac.h:280</div></div>
<div class="ttc" id="astructadi__mac___frame_struct__t_html"><div class="ttname"><a href="structadi__mac___frame_struct__t.html">adi_mac_FrameStruct_t</a></div><div class="ttdoc">Frame structure.</div><div class="ttdef"><b>Definition:</b> adi_mac.h:576</div></div>
<div class="ttc" id="astructadi__mac___queue__t_html"><div class="ttname"><a href="structadi__mac___queue__t.html">adi_mac_Queue_t</a></div><div class="ttdoc">Queue to hold frames.</div><div class="ttdef"><b>Definition:</b> adi_mac.h:585</div></div>
<div class="ttc" id="astructadi__mac___status_registers__t_html"><div class="ttname"><a href="structadi__mac___status_registers__t.html">adi_mac_StatusRegisters_t</a></div><div class="ttdoc">Status register values and interrupt events.</div><div class="ttdef"><b>Definition:</b> adi_mac.h:533</div></div>
</div><!-- fragment --><p>Size of the MAC device structure components common to all configurations. </p>

</div>
</div>
<a id="gaf2fafb32cd1b6e65f9d5e3be32096dfc"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gaf2fafb32cd1b6e65f9d5e3be32096dfc">&#9670;&nbsp;</a></span>ADI_MAC_DEVICE_SIZE_OA</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define ADI_MAC_DEVICE_SIZE_OA&#160;&#160;&#160;(2 * 4 + 15 * 4 + sizeof(<a class="el" href="structadi__mac___oa_error_stats__t.html">adi_mac_OaErrorStats_t</a>) + <a class="el" href="group__mac.html#ga2270f76034eebf4c205de57c7edadd63">ADI_OA_RX_BACKUP_BUF_SIZE</a> + 2 * <a class="el" href="group__mac.html#ga7703787d9b49b32f0c042f5b54a5601b">ADI_MAC_SPI_CTRL_BUF_SIZE</a>)</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Size of the MAC device structure components addded when OPEN Alliance SPI mode is enabled. </p>

</div>
</div>
<a id="gac12e0915efcbbf915a9e0fa924a4c7a3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gac12e0915efcbbf915a9e0fa924a4c7a3">&#9670;&nbsp;</a></span>ADI_MAC_DEVICE_SIZE_QUEUE_HI</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define ADI_MAC_DEVICE_SIZE_QUEUE_HI&#160;&#160;&#160;(0)</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Size of the MAC device structure components addded when high-priority Rx queue mode is disabled. </p>

</div>
</div>
<a id="gab7b8b4752681b2c948613f29b8dc8a3c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gab7b8b4752681b2c948613f29b8dc8a3c">&#9670;&nbsp;</a></span>ADI_MAC_FIFO_MAX_SIZE</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define ADI_MAC_FIFO_MAX_SIZE&#160;&#160;&#160;(28)</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Maximum size of all FIFOs combined, in kBytes. </p>

</div>
</div>
<a id="gad9ce108db86d4ac02efbcfc94cb2ac52"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gad9ce108db86d4ac02efbcfc94cb2ac52">&#9670;&nbsp;</a></span>ADI_MAC_IF_UP_MAX_RETRIES</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define ADI_MAC_IF_UP_MAX_RETRIES&#160;&#160;&#160;(25000)</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Maximum number of attempts to establish the SPI interface is up and responsive. </p>

</div>
</div>
<a id="ga05af30efa24ed7dee60a309552addbd7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga05af30efa24ed7dee60a309552addbd7">&#9670;&nbsp;</a></span>ADI_MAC_INIT_MAX_RETRIES</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define ADI_MAC_INIT_MAX_RETRIES&#160;&#160;&#160;(25000)</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Maximum number of attempts to establish the read the expected value of PHYID register during the initialization. </p>

</div>
</div>
<a id="gae1bb30b27458742dc231b614fe978518"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gae1bb30b27458742dc231b614fe978518">&#9670;&nbsp;</a></span>ADI_MAC_MDIO_MAX_COUNT</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define ADI_MAC_MDIO_MAX_COUNT&#160;&#160;&#160;(8)</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Number of MDIO Access registers. </p>

</div>
</div>
<a id="ga711860cbabe70c6740bedeed960e071e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga711860cbabe70c6740bedeed960e071e">&#9670;&nbsp;</a></span>ADI_MAC_MDIO_MAX_RETRIES</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define ADI_MAC_MDIO_MAX_RETRIES&#160;&#160;&#160;(10)</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Maximum number of attempts to read MDIO RDY bit. </p>

</div>
</div>
<a id="ga37c8736ffee373ee7b705c96cba696ad"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga37c8736ffee373ee7b705c96cba696ad">&#9670;&nbsp;</a></span>ADI_MAC_MDIO_PARALLEL_COUNT</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define ADI_MAC_MDIO_PARALLEL_COUNT&#160;&#160;&#160;(2)</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Number of MDIO Access registers to use in parallel. </p>

</div>
</div>
<a id="ga0a3add4ceeb8a319995cd7bf1e6f73ce"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga0a3add4ceeb8a319995cd7bf1e6f73ce">&#9670;&nbsp;</a></span>ADI_MAC_PHY_STATUS_INIT_VAL</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define ADI_MAC_PHY_STATUS_INIT_VAL&#160;&#160;&#160;(0x7FFF7FFF)</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Initialization value for status variables corresponding to PHY IRQ registers. </p>

</div>
</div>
<a id="ga64edd1a44e0548ae5e43dfa5a9d0319f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga64edd1a44e0548ae5e43dfa5a9d0319f">&#9670;&nbsp;</a></span>ADI_MAC_SPI_ACCESS_SIZE</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define ADI_MAC_SPI_ACCESS_SIZE&#160;&#160;&#160;(4)</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>SPI register access size in bytes. </p>

</div>
</div>
<a id="gac3137fea21a2c0aea3c812afc4cf012b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gac3137fea21a2c0aea3c812afc4cf012b">&#9670;&nbsp;</a></span>ADI_MAC_SPI_ACCESS_UNIT_TYPE</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define ADI_MAC_SPI_ACCESS_UNIT_TYPE&#160;&#160;&#160;uint32_t</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Type of SPI register access size. </p>

</div>
</div>
<a id="ga7703787d9b49b32f0c042f5b54a5601b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga7703787d9b49b32f0c042f5b54a5601b">&#9670;&nbsp;</a></span>ADI_MAC_SPI_CTRL_BUF_SIZE</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define ADI_MAC_SPI_CTRL_BUF_SIZE&#160;&#160;&#160;(256)</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Size of the buffers used in control transactions, in bytes. </p>

</div>
</div>
<a id="ga81ca48a0d4a00a309e00d11cfbb5e375"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga81ca48a0d4a00a309e00d11cfbb5e375">&#9670;&nbsp;</a></span>ADI_MAC_SPI_READ</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define ADI_MAC_SPI_READ&#160;&#160;&#160;(0)</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>SPI header value indicating a read transaction. <br  />
 </p>

</div>
</div>
<a id="gad77eaf70e4203c75973f8623528ad333"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gad77eaf70e4203c75973f8623528ad333">&#9670;&nbsp;</a></span>ADI_MAC_SPI_TRANSACTION_CONTROL</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define ADI_MAC_SPI_TRANSACTION_CONTROL&#160;&#160;&#160;(1)</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>SPI header value indicating a control transaction. <br  />
 </p>

</div>
</div>
<a id="gac14f30c34f69df90b962627f029797d6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gac14f30c34f69df90b962627f029797d6">&#9670;&nbsp;</a></span>ADI_MAC_SPI_TRANSACTION_DATA</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define ADI_MAC_SPI_TRANSACTION_DATA&#160;&#160;&#160;(0)</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>SPI header value indicating a data transaction. <br  />
 </p>

</div>
</div>
<a id="ga9fda12e80e8a6f7cfbfefa97979ba79b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga9fda12e80e8a6f7cfbfefa97979ba79b">&#9670;&nbsp;</a></span>ADI_MAC_SPI_WRITE</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define ADI_MAC_SPI_WRITE&#160;&#160;&#160;(1)</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>SPI header value indicating a write transaction. <br  />
 </p>

</div>
</div>
<a id="ga5e90cb00dc6b7e9890223a0e2f3f72db"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga5e90cb00dc6b7e9890223a0e2f3f72db">&#9670;&nbsp;</a></span>ADI_MAC_TS_1588_NS_MASK</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define ADI_MAC_TS_1588_NS_MASK&#160;&#160;&#160;(0x3FFFFFFF)</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Mask for the nanoseconds portion of a 32b/64b 1588 timestamp value. </p>

</div>
</div>
<a id="ga47bf250580d97a902433e28414967f08"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga47bf250580d97a902433e28414967f08">&#9670;&nbsp;</a></span>ADI_MAC_TS_1588_SEC_MASK</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define ADI_MAC_TS_1588_SEC_MASK&#160;&#160;&#160;(0xC0000000)</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Mask for the seconds portion of a 32b 1588 timestamp value. </p>

</div>
</div>
<a id="ga458811ccb595cfab2f09c32781e42e28"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga458811ccb595cfab2f09c32781e42e28">&#9670;&nbsp;</a></span>ADI_MAC_TS_1588_SEC_POS</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define ADI_MAC_TS_1588_SEC_POS&#160;&#160;&#160;(28)</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Bit position for the seconds portion of a 32b 1588 timestamp value. </p>

</div>
</div>
<a id="gad23ebc5bf76317a23d9654343b5a6513"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gad23ebc5bf76317a23d9654343b5a6513">&#9670;&nbsp;</a></span>ADI_MAC_TS_FREE_CNT_LSB_IN_NS</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define ADI_MAC_TS_FREE_CNT_LSB_IN_NS&#160;&#160;&#160;(100.0/12.0)</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Nominal resolution of free-running counter in nanoseconds. </p>

</div>
</div>
<a id="ga8026e7363cb4d4f2eb67fa8baf1c30f5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga8026e7363cb4d4f2eb67fa8baf1c30f5">&#9670;&nbsp;</a></span>ADI_MAC_TS_MIN_NS</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define ADI_MAC_TS_MIN_NS&#160;&#160;&#160;(16)</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Resolution in nanoseconds of the timestamp timer. </p>

</div>
</div>
<a id="ga51c3192b54b682561f0e73f190335cbb"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga51c3192b54b682561f0e73f190335cbb">&#9670;&nbsp;</a></span>ADI_MAC_TS_ONE_SECOND_IN_NS</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define ADI_MAC_TS_ONE_SECOND_IN_NS&#160;&#160;&#160;(1000000000ULL)</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Number of nanoseconds in a second. </p>

</div>
</div>
<a id="gaf6871672d7534fe10cfebb2ddc1d4bba"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gaf6871672d7534fe10cfebb2ddc1d4bba">&#9670;&nbsp;</a></span>ADI_MAC_TS_QE_MASK</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define ADI_MAC_TS_QE_MASK&#160;&#160;&#160;(0xF)</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Mask for timestamp timer bits that are disregarded through quantization. </p>

</div>
</div>
<a id="ga8a755350051bda40ba90eeef1f3b2807"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga8a755350051bda40ba90eeef1f3b2807">&#9670;&nbsp;</a></span>ADI_OA_RX_BACKUP_BUF_CHUNK_COUNT</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define ADI_OA_RX_BACKUP_BUF_CHUNK_COUNT&#160;&#160;&#160;(1)</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Receive backup buffer size, in chunks. Note this is not currently used! </p>

</div>
</div>
<a id="ga2270f76034eebf4c205de57c7edadd63"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga2270f76034eebf4c205de57c7edadd63">&#9670;&nbsp;</a></span>ADI_OA_RX_BACKUP_BUF_SIZE</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define ADI_OA_RX_BACKUP_BUF_SIZE&#160;&#160;&#160;(68 * <a class="el" href="group__mac.html#ga8a755350051bda40ba90eeef1f3b2807">ADI_OA_RX_BACKUP_BUF_CHUNK_COUNT</a>)</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Receive backup buffer size, in bytes. Note this is not currently used! </p>

</div>
</div>
<a id="gaa70f9e182469bd80269b70683e064581"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gaa70f9e182469bd80269b70683e064581">&#9670;&nbsp;</a></span>ADI_SPI_TIMEOUT</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define ADI_SPI_TIMEOUT&#160;&#160;&#160;(100000)</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Maximum number of iterations to wait for the SPI transaction to finish. </p>

</div>
</div>
<a id="ga1620728be1cbe335b8ef23fae13b186f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga1620728be1cbe335b8ef23fae13b186f">&#9670;&nbsp;</a></span>DEVTYPE</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define DEVTYPE</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">a</td><td>)</td>
          <td>&#160;&#160;&#160;(a &gt;&gt; 16)</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>MDIO Device Address extraction from 32-bit PHY register address. </p>

</div>
</div>
<a id="ga1c538eaa7c5b23999d65d554c6cc8496"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga1c538eaa7c5b23999d65d554c6cc8496">&#9670;&nbsp;</a></span>FCS_SIZE</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define FCS_SIZE&#160;&#160;&#160;(4)</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>FCS size </p>

</div>
</div>
<a id="ga56b71b8eeb28ff16c668d353f8cbe1eb"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga56b71b8eeb28ff16c668d353f8cbe1eb">&#9670;&nbsp;</a></span>HTON16</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define HTON16</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">a</td><td>)</td>
          <td>&#160;&#160;&#160;((uint16_t)((((a) &amp; 0xFF) &lt;&lt; 8) | (((a) &gt;&gt; 8) &amp; 0xFF)))</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Byte order conversion for 16-bit values. </p>

</div>
</div>
<a id="ga166e24ee0eb388f777d5fdc2eb942dc4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga166e24ee0eb388f777d5fdc2eb942dc4">&#9670;&nbsp;</a></span>HTON32</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define HTON32</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">a</td><td>)</td>
          <td>&#160;&#160;&#160;__REV((a))</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Byte order conversion for 32-bit values. </p>

</div>
</div>
<a id="gad15d35a0d29a9dbf9324e3859ce3b008"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gad15d35a0d29a9dbf9324e3859ce3b008">&#9670;&nbsp;</a></span>MAX_FRAME_SIZE</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define MAX_FRAME_SIZE&#160;&#160;&#160;(1518)</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Maximum frame size, without FCS. </p>

</div>
</div>
<a id="ga50a207c28cb59d177a9db611cc1faea4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga50a207c28cb59d177a9db611cc1faea4">&#9670;&nbsp;</a></span>MIN_FRAME_SIZE</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define MIN_FRAME_SIZE&#160;&#160;&#160;(60)</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Minimum frame size, without FCS. </p>

</div>
</div>
<a id="gae3dced2ef5279e3c7ea8ee316b3d47ad"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gae3dced2ef5279e3c7ea8ee316b3d47ad">&#9670;&nbsp;</a></span>REGADDR</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define REGADDR</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">a</td><td>)</td>
          <td>&#160;&#160;&#160;(a &amp; 0xFFFF)</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>MDIO Register Address extraction from 32-bit PHY register address. </p>

</div>
</div>
<a id="ga239129b76c2238ad1d043fdfe2b8c5b7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga239129b76c2238ad1d043fdfe2b8c5b7">&#9670;&nbsp;</a></span>RST_MAC_ONLY_KEY1</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define RST_MAC_ONLY_KEY1&#160;&#160;&#160;(0x4F1C)</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Key 1 for MAC-only reset. </p>

</div>
</div>
<a id="ga16d453f4e7e0fe468c08275566d96fe7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga16d453f4e7e0fe468c08275566d96fe7">&#9670;&nbsp;</a></span>RST_MAC_ONLY_KEY2</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define RST_MAC_ONLY_KEY2&#160;&#160;&#160;(0xC1F4)</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Key 2 for MAC-only reset. </p>

</div>
</div>
<a id="gaf93563d8a4c5f56dd65f68822bb77233"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gaf93563d8a4c5f56dd65f68822bb77233">&#9670;&nbsp;</a></span>RX_QUEUE_NUM_ENTRIES</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define RX_QUEUE_NUM_ENTRIES&#160;&#160;&#160;(4)</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Size of the Rx queue, can be previously defined by the application. </p>

</div>
</div>
<a id="ga1539811602dc0360f7ebad0f17b22a53"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga1539811602dc0360f7ebad0f17b22a53">&#9670;&nbsp;</a></span>RX_QUEUE_NUM_ENTRIES_RAW</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define RX_QUEUE_NUM_ENTRIES_RAW&#160;&#160;&#160;(<a class="el" href="group__mac.html#gaf93563d8a4c5f56dd65f68822bb77233">RX_QUEUE_NUM_ENTRIES</a> + 1)</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Actual size of the Rx queue. </p>

</div>
</div>
<a id="gacafec0dc026da253178cde746b8130b5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gacafec0dc026da253178cde746b8130b5">&#9670;&nbsp;</a></span>TX_QUEUE_NUM_ENTRIES</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define TX_QUEUE_NUM_ENTRIES&#160;&#160;&#160;(4)</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Size of the Tx queue, can be previously defined by the application. </p>

</div>
</div>
<a id="gaf81ca615451f7f042c5fad6c63361c2a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gaf81ca615451f7f042c5fad6c63361c2a">&#9670;&nbsp;</a></span>TX_QUEUE_NUM_ENTRIES_RAW</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define TX_QUEUE_NUM_ENTRIES_RAW&#160;&#160;&#160;(<a class="el" href="group__mac.html#gacafec0dc026da253178cde746b8130b5">TX_QUEUE_NUM_ENTRIES</a> + 1)</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Actual Size of the Tx queue. </p>

</div>
</div>
<h2 class="groupheader">Enumeration Type Documentation</h2>
<a id="gaf32e59fc221a9707d5f9c2d8b897e525"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gaf32e59fc221a9707d5f9c2d8b897e525">&#9670;&nbsp;</a></span>adi_eth_LinkStatus_e</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="group__mac.html#gaf32e59fc221a9707d5f9c2d8b897e525">adi_eth_LinkStatus_e</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Link status read from the MAC interface (MAC_STATUS register). </p>
<table class="fieldtable">
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a id="ggaf32e59fc221a9707d5f9c2d8b897e525ad94c936ebbff68041b2c316323fd4cfd"></a>ADI_ETH_LINK_STATUS_DOWN&#160;</td><td class="fielddoc"><p>Link down. <br  />
 </p>
</td></tr>
<tr><td class="fieldname"><a id="ggaf32e59fc221a9707d5f9c2d8b897e525a8dfcc7a4f28926ed358f83eda0c8f2f6"></a>ADI_ETH_LINK_STATUS_UP&#160;</td><td class="fielddoc"><p>Link up. <br  />
 </p>
</td></tr>
</table>

</div>
</div>
<a id="gaee7ffa1baa6ef36a087b76a44831d9da"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gaee7ffa1baa6ef36a087b76a44831d9da">&#9670;&nbsp;</a></span>adi_eth_ResetType_e</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="group__mac.html#gaee7ffa1baa6ef36a087b76a44831d9da">adi_eth_ResetType_e</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Reset definitions. </p>
<table class="fieldtable">
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a id="ggaee7ffa1baa6ef36a087b76a44831d9daab36bab4b10891928376b7c49b2ad80bd"></a>ADI_ETH_RESET_TYPE_MAC_ONLY&#160;</td><td class="fielddoc"><p>Reset the MAC only. <br  />
 </p>
</td></tr>
<tr><td class="fieldname"><a id="ggaee7ffa1baa6ef36a087b76a44831d9daac0fb5425234338e69fb0f3fc5958dded"></a>ADI_ETH_RESET_TYPE_MAC_PHY&#160;</td><td class="fielddoc"><p>Reset both MAC and PHY. <br  />
 </p>
</td></tr>
</table>

</div>
</div>
<a id="ga9fe6bdd6bd80b35aba6334779ad340f0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga9fe6bdd6bd80b35aba6334779ad340f0">&#9670;&nbsp;</a></span>adi_mac_EgressCapture_e</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="group__mac.html#ga9fe6bdd6bd80b35aba6334779ad340f0">adi_mac_EgressCapture_e</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Egress timestamp capture. </p>
<table class="fieldtable">
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a id="gga9fe6bdd6bd80b35aba6334779ad340f0a172bc4706fb94c340c6d76561ddd812e"></a>ADI_MAC_EGRESS_CAPTURE_NONE&#160;</td><td class="fielddoc"><p>No action. <br  />
 </p>
</td></tr>
<tr><td class="fieldname"><a id="gga9fe6bdd6bd80b35aba6334779ad340f0ad9a867e4d73198d5738840103be8c801"></a>ADI_MAC_EGRESS_CAPTURE_A&#160;</td><td class="fielddoc"><p>Capture egress timestamp A. <br  />
 </p>
</td></tr>
<tr><td class="fieldname"><a id="gga9fe6bdd6bd80b35aba6334779ad340f0a8ba5cd0a9bfd013c2ff7c141f6aba8ba"></a>ADI_MAC_EGRESS_CAPTURE_B&#160;</td><td class="fielddoc"><p>Capture egress timestamp B. <br  />
 </p>
</td></tr>
<tr><td class="fieldname"><a id="gga9fe6bdd6bd80b35aba6334779ad340f0a61519359f316fd34b9fcac621d2f9844"></a>ADI_MAC_EGRESS_CAPTURE_C&#160;</td><td class="fielddoc"><p>Capture egress timestamp C. <br  />
 </p>
</td></tr>
</table>

</div>
</div>
<a id="ga596e18d2751971a252c829dfdb60e6d1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga596e18d2751971a252c829dfdb60e6d1">&#9670;&nbsp;</a></span>adi_mac_InterruptEvt_e</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="group__mac.html#ga596e18d2751971a252c829dfdb60e6d1">adi_mac_InterruptEvt_e</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>MAC callback events. Driver supports installing callbacks for the events defined here. </p>
<table class="fieldtable">
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a id="gga596e18d2751971a252c829dfdb60e6d1af69d1663f117190dc706663ea6d83062"></a>ADI_MAC_EVT_LINK_CHANGE&#160;</td><td class="fielddoc"><p>Link status changed. <br  />
 </p>
</td></tr>
<tr><td class="fieldname"><a id="gga596e18d2751971a252c829dfdb60e6d1aa842c12d954a4ce7f8f239d5ca42b36b"></a>ADI_MAC_EVT_TX_RDY&#160;</td><td class="fielddoc"><p>TX_RDY asserted. <br  />
 </p>
</td></tr>
<tr><td class="fieldname"><a id="gga596e18d2751971a252c829dfdb60e6d1a22824bf2479a2579d99edd59f3ecc9b0"></a>ADI_MAC_EVT_P1_RX_RDY&#160;</td><td class="fielddoc"><p>P1_RX_RDY asserted. <br  />
 </p>
</td></tr>
<tr><td class="fieldname"><a id="gga596e18d2751971a252c829dfdb60e6d1aa1b24452c415eccf56fda98e7fd1eeaa"></a>ADI_MAC_EVT_STATUS&#160;</td><td class="fielddoc"><p>Nonzero unmasked status. <br  />
 </p>
</td></tr>
<tr><td class="fieldname"><a id="gga596e18d2751971a252c829dfdb60e6d1a399f12b709296b4645e10e33d0f12921"></a>ADI_MAC_EVT_RX_FRAME_RDY&#160;</td><td class="fielddoc"><p>New frame ready to be read from the Rx FIFO (Generic SPI only). </p>
</td></tr>
<tr><td class="fieldname"><a id="gga596e18d2751971a252c829dfdb60e6d1a9f59de7c4469e50ea5b5d909e354e16e"></a>ADI_MAC_EVT_TIMESTAMP_RDY&#160;</td><td class="fielddoc"><p>Egress timestamp has been captured in TTSCA register. <br  />
 </p>
</td></tr>
<tr><td class="fieldname"><a id="gga596e18d2751971a252c829dfdb60e6d1a95b1716b066f50b3117507b44c95f652"></a>ADI_MAC_EVT_MAX&#160;</td><td class="fielddoc"><p>Enumeration size marker. <br  />
 </p>
</td></tr>
</table>

</div>
</div>
<a id="ga99e3b87728292e9b5521bf69e7c4d253"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga99e3b87728292e9b5521bf69e7c4d253">&#9670;&nbsp;</a></span>adi_mac_OaCps_e</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="group__mac.html#ga99e3b87728292e9b5521bf69e7c4d253">adi_mac_OaCps_e</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Chunk Payload Selector (OPEN Alliance). </p>
<table class="fieldtable">
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a id="gga99e3b87728292e9b5521bf69e7c4d253a4fe3c95b4813ae3a7df7336095aef481"></a>ADI_MAC_OA_CPS_8BYTE&#160;</td><td class="fielddoc"><p>8 bytes per chunk <br  />
 </p>
</td></tr>
<tr><td class="fieldname"><a id="gga99e3b87728292e9b5521bf69e7c4d253a219e18de56b7bc53251c18b140878a68"></a>ADI_MAC_OA_CPS_16BYTE&#160;</td><td class="fielddoc"><p>16 bytes per chunk </p>
</td></tr>
<tr><td class="fieldname"><a id="gga99e3b87728292e9b5521bf69e7c4d253a6f06b9c7c5ce857a8a0595a3b4da22aa"></a>ADI_MAC_OA_CPS_32BYTE&#160;</td><td class="fielddoc"><p>32 bytes per chunk </p>
</td></tr>
<tr><td class="fieldname"><a id="gga99e3b87728292e9b5521bf69e7c4d253a42c31ea841dcf51f96a02d7c583d65db"></a>ADI_MAC_OA_CPS_64BYTE&#160;</td><td class="fielddoc"><p>64 bytes per chunk </p>
</td></tr>
</table>

</div>
</div>
<a id="ga6bd0356ecbec200c5fcecc2776d1f8d5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga6bd0356ecbec200c5fcecc2776d1f8d5">&#9670;&nbsp;</a></span>adi_mac_OaValidFlag_e</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="group__mac.html#ga6bd0356ecbec200c5fcecc2776d1f8d5">adi_mac_OaValidFlag_e</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Latest valid flag (EV or SV) read from the footer. </p>
<table class="fieldtable">
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a id="gga6bd0356ecbec200c5fcecc2776d1f8d5a7ec8bb4c344122ffe419f79dda792692"></a>ADI_MAC_OA_VALID_FLAG_NONE&#160;</td><td class="fielddoc"><p>No SV or EV flag received yet. This is the initial value. <br  />
 </p>
</td></tr>
<tr><td class="fieldname"><a id="gga6bd0356ecbec200c5fcecc2776d1f8d5ada9145b0d7b07c9dcb7fb7c67cb97067"></a>ADI_MAC_OA_VALID_FLAG_START&#160;</td><td class="fielddoc"><p>Latest valid flag was SV. <br  />
 </p>
</td></tr>
<tr><td class="fieldname"><a id="gga6bd0356ecbec200c5fcecc2776d1f8d5a2b347bd06fa62322b89e088770b103cc"></a>ADI_MAC_OA_VALID_FLAG_END&#160;</td><td class="fielddoc"><p>Latest valid flag was EV. <br  />
 </p>
</td></tr>
</table>

</div>
</div>
<a id="ga2642a216450f6fbc7679bf7bb4a8069e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga2642a216450f6fbc7679bf7bb4a8069e">&#9670;&nbsp;</a></span>adi_mac_SpiState_e</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="group__mac.html#ga2642a216450f6fbc7679bf7bb4a8069e">adi_mac_SpiState_e</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>SPI interface state. </p>
<table class="fieldtable">
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a id="gga2642a216450f6fbc7679bf7bb4a8069ea40c47801ac2f0f4b4660ab08fbfa5488"></a>ADI_MAC_SPI_STATE_READY&#160;</td><td class="fielddoc"><p>SPI interface ready. </p>
</td></tr>
<tr><td class="fieldname"><a id="gga2642a216450f6fbc7679bf7bb4a8069ea9aa70b7a195dfa41821ab4f6e63b1961"></a>ADI_MAC_SPI_STATE_RX&#160;</td><td class="fielddoc"><p>SPI interface receiving (control transaction). <br  />
 </p>
</td></tr>
<tr><td class="fieldname"><a id="gga2642a216450f6fbc7679bf7bb4a8069ea49c2fc18756942eeb05880f00223d121"></a>ADI_MAC_SPI_STATE_RX_FRAME&#160;</td><td class="fielddoc"><p>SPI interface receiving frame (data transaction). <br  />
 </p>
</td></tr>
<tr><td class="fieldname"><a id="gga2642a216450f6fbc7679bf7bb4a8069ea47c8d886dd77968a490a55c455164b04"></a>ADI_MAC_SPI_STATE_TX&#160;</td><td class="fielddoc"><p>SPI interface transmitting (control transaction). <br  />
 </p>
</td></tr>
<tr><td class="fieldname"><a id="gga2642a216450f6fbc7679bf7bb4a8069ea0b0639612cfd23e045406cf64b5557ea"></a>ADI_MAC_SPI_STATE_TX_FRAME&#160;</td><td class="fielddoc"><p>SPI interface transmitting (data transaction). <br  />
 </p>
</td></tr>
</table>

</div>
</div>
<a id="ga5f8228e638224855f0b2baa6297de8f9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga5f8228e638224855f0b2baa6297de8f9">&#9670;&nbsp;</a></span>adi_mac_State_e</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="group__mac.html#ga5f8228e638224855f0b2baa6297de8f9">adi_mac_State_e</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Driver states States can be used in both generic SPI and OPEN Alliance SPI, or for just one protocol. </p>
<table class="fieldtable">
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a id="gga5f8228e638224855f0b2baa6297de8f9a0f7e0571e1ff63757c892c0d840ec5df"></a>ADI_MAC_STATE_UNINITIALIZED&#160;</td><td class="fielddoc"><p>Driver is not initialized. This is the initial state. <br  />
 </p>
</td></tr>
<tr><td class="fieldname"><a id="gga5f8228e638224855f0b2baa6297de8f9a0a7cd8c3a4e8f05e1358ed6007122374"></a>ADI_MAC_STATE_INITIALIZED&#160;</td><td class="fielddoc"><p>Driver initialized. <br  />
 </p>
</td></tr>
<tr><td class="fieldname"><a id="gga5f8228e638224855f0b2baa6297de8f9a6981e47e69e28c4beb99f66dc82daa15"></a>ADI_MAC_STATE_READY&#160;</td><td class="fielddoc"><p>Driver ready. <br  />
 </p>
</td></tr>
<tr><td class="fieldname"><a id="gga5f8228e638224855f0b2baa6297de8f9a520b92d980ab4bb678079799664a9d15"></a>ADI_MAC_STATE_TX_FRAME&#160;</td><td class="fielddoc"><p>Driver is transmitting a frame to the MAC over SPI. <br  />
 </p>
</td></tr>
<tr><td class="fieldname"><a id="gga5f8228e638224855f0b2baa6297de8f9a632353379e8703e37ff0c1dea5b37d57"></a>ADI_MAC_STATE_RX_FRAME&#160;</td><td class="fielddoc"><p>Driver is receiving a frame from the MAC over SPI. <br  />
 </p>
</td></tr>
<tr><td class="fieldname"><a id="gga5f8228e638224855f0b2baa6297de8f9af6805677fe31b040a8ebc6d9cfcd66eb"></a>ADI_MAC_STATE_CONTROL_START&#160;</td><td class="fielddoc"><p>Driver is starting a control transaction. <br  />
 </p>
</td></tr>
<tr><td class="fieldname"><a id="gga5f8228e638224855f0b2baa6297de8f9ab1a992a177d104d9d1d9e68cd747284b"></a>ADI_MAC_STATE_CONTROL_END&#160;</td><td class="fielddoc"><p>Driver is completing a control transaction. <br  />
 </p>
</td></tr>
<tr><td class="fieldname"><a id="gga5f8228e638224855f0b2baa6297de8f9a6d10b8028939394bb3f9df33bec6226b"></a>ADI_MAC_STATE_DATA_START&#160;</td><td class="fielddoc"><p>Driver is starting a data transaction. <br  />
 </p>
</td></tr>
<tr><td class="fieldname"><a id="gga5f8228e638224855f0b2baa6297de8f9a26b31d9f99c3320d8586b7d262589254"></a>ADI_MAC_STATE_DATA_END&#160;</td><td class="fielddoc"><p>Driver is completing a data transaction. <br  />
 </p>
</td></tr>
<tr><td class="fieldname"><a id="gga5f8228e638224855f0b2baa6297de8f9a8f1b6109b6961f36f1c8730c9cf88cdb"></a>ADI_MAC_STATE_IRQ_START&#160;</td><td class="fielddoc"><p>Driver is servicing an interrupt request from the MAC. </p>
</td></tr>
<tr><td class="fieldname"><a id="gga5f8228e638224855f0b2baa6297de8f9a8f6a563be32b7ffd44f914a102032d97"></a>ADI_MAC_STATE_DATA_READ_STATUS&#160;</td><td class="fielddoc"><p>Driver is reading status from MAC registers. <br  />
 </p>
</td></tr>
</table>

</div>
</div>
<a id="gab15ff3790a57b045fb990cc5550c60ef"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gab15ff3790a57b045fb990cc5550c60ef">&#9670;&nbsp;</a></span>adi_mac_TsFormat_e</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="group__mac.html#gab15ff3790a57b045fb990cc5550c60ef">adi_mac_TsFormat_e</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Timestamp formats. </p>
<table class="fieldtable">
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a id="ggab15ff3790a57b045fb990cc5550c60efaf386087bbeb5721f141bcfac6ddb557b"></a>ADI_MAC_TS_FORMAT_NONE&#160;</td><td class="fielddoc"><p>No timestamp <br  />
 </p>
</td></tr>
<tr><td class="fieldname"><a id="ggab15ff3790a57b045fb990cc5550c60efa482e20945b9ac32e13cf4fb3861825c9"></a>ADI_MAC_TS_FORMAT_32B_FREE&#160;</td><td class="fielddoc"><p>32b free-running counter: 1 lsb = 1/120MHz = 8.33ns. <br  />
 </p>
</td></tr>
<tr><td class="fieldname"><a id="ggab15ff3790a57b045fb990cc5550c60efa5314c73f0d0560e0f561765563521345"></a>ADI_MAC_TS_FORMAT_32B_1588&#160;</td><td class="fielddoc"><p>32b 1588 timestamp: [31:30] seconds count, [29:0] nanoseconds count. <br  />
 </p>
</td></tr>
<tr><td class="fieldname"><a id="ggab15ff3790a57b045fb990cc5550c60efa97a6aaaa1050043e164c943a25df9a16"></a>ADI_MAC_TS_FORMAT_64B_1588&#160;</td><td class="fielddoc"><p>64b 1588 timestamp: [63:32] seconds count, [31:30] zero, [29:0] nanoseconds count. </p>
</td></tr>
</table>

</div>
</div>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.1 </li>
  </ul>
</div>
</body>
</html>
